export type IEnv = 'development' | 'production'

const domain = {
  development: {
    api: 'http://45.77.23.173:8888',
    // api: 'http://192.168.0.69:8000'
    upload: 'http://staging-upload-xxx.cn/api',
  },
  production: {
    api: 'http://45.77.23.173:8888',
    upload: 'http://staging-upload-xxx.cn/api',
  },
}

const env = process.env.NODE_ENV as IEnv

export default domain[env]
